package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsProtectAreaExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsProtectAreaExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProtectIdIsNull() {
            addCriterion("protect_id is null");
            return (Criteria) this;
        }

        public Criteria andProtectIdIsNotNull() {
            addCriterion("protect_id is not null");
            return (Criteria) this;
        }

        public Criteria andProtectIdEqualTo(Integer value) {
            addCriterion("protect_id =", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdNotEqualTo(Integer value) {
            addCriterion("protect_id <>", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdGreaterThan(Integer value) {
            addCriterion("protect_id >", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("protect_id >=", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdLessThan(Integer value) {
            addCriterion("protect_id <", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdLessThanOrEqualTo(Integer value) {
            addCriterion("protect_id <=", value, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdIn(List<Integer> values) {
            addCriterion("protect_id in", values, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdNotIn(List<Integer> values) {
            addCriterion("protect_id not in", values, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdBetween(Integer value1, Integer value2) {
            addCriterion("protect_id between", value1, value2, "protectId");
            return (Criteria) this;
        }

        public Criteria andProtectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("protect_id not between", value1, value2, "protectId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNull() {
            addCriterion("basic_id is null");
            return (Criteria) this;
        }

        public Criteria andBasicIdIsNotNull() {
            addCriterion("basic_id is not null");
            return (Criteria) this;
        }

        public Criteria andBasicIdEqualTo(Integer value) {
            addCriterion("basic_id =", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotEqualTo(Integer value) {
            addCriterion("basic_id <>", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThan(Integer value) {
            addCriterion("basic_id >", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("basic_id >=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThan(Integer value) {
            addCriterion("basic_id <", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdLessThanOrEqualTo(Integer value) {
            addCriterion("basic_id <=", value, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdIn(List<Integer> values) {
            addCriterion("basic_id in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotIn(List<Integer> values) {
            addCriterion("basic_id not in", values, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdBetween(Integer value1, Integer value2) {
            addCriterion("basic_id between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("basic_id not between", value1, value2, "basicId");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNull() {
            addCriterion("basic_name is null");
            return (Criteria) this;
        }

        public Criteria andBasicNameIsNotNull() {
            addCriterion("basic_name is not null");
            return (Criteria) this;
        }

        public Criteria andBasicNameEqualTo(String value) {
            addCriterion("basic_name =", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotEqualTo(String value) {
            addCriterion("basic_name <>", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThan(String value) {
            addCriterion("basic_name >", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameGreaterThanOrEqualTo(String value) {
            addCriterion("basic_name >=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThan(String value) {
            addCriterion("basic_name <", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLessThanOrEqualTo(String value) {
            addCriterion("basic_name <=", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameLike(String value) {
            addCriterion("basic_name like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotLike(String value) {
            addCriterion("basic_name not like", value, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameIn(List<String> values) {
            addCriterion("basic_name in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotIn(List<String> values) {
            addCriterion("basic_name not in", values, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameBetween(String value1, String value2) {
            addCriterion("basic_name between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andBasicNameNotBetween(String value1, String value2) {
            addCriterion("basic_name not between", value1, value2, "basicName");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdIsNull() {
            addCriterion("protect_basic_id is null");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdIsNotNull() {
            addCriterion("protect_basic_id is not null");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdEqualTo(Integer value) {
            addCriterion("protect_basic_id =", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdNotEqualTo(Integer value) {
            addCriterion("protect_basic_id <>", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdGreaterThan(Integer value) {
            addCriterion("protect_basic_id >", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("protect_basic_id >=", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdLessThan(Integer value) {
            addCriterion("protect_basic_id <", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdLessThanOrEqualTo(Integer value) {
            addCriterion("protect_basic_id <=", value, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdIn(List<Integer> values) {
            addCriterion("protect_basic_id in", values, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdNotIn(List<Integer> values) {
            addCriterion("protect_basic_id not in", values, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdBetween(Integer value1, Integer value2) {
            addCriterion("protect_basic_id between", value1, value2, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectBasicIdNotBetween(Integer value1, Integer value2) {
            addCriterion("protect_basic_id not between", value1, value2, "protectBasicId");
            return (Criteria) this;
        }

        public Criteria andProtectAreaIsNull() {
            addCriterion("protect_area is null");
            return (Criteria) this;
        }

        public Criteria andProtectAreaIsNotNull() {
            addCriterion("protect_area is not null");
            return (Criteria) this;
        }

        public Criteria andProtectAreaEqualTo(Integer value) {
            addCriterion("protect_area =", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaNotEqualTo(Integer value) {
            addCriterion("protect_area <>", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaGreaterThan(Integer value) {
            addCriterion("protect_area >", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaGreaterThanOrEqualTo(Integer value) {
            addCriterion("protect_area >=", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaLessThan(Integer value) {
            addCriterion("protect_area <", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaLessThanOrEqualTo(Integer value) {
            addCriterion("protect_area <=", value, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaIn(List<Integer> values) {
            addCriterion("protect_area in", values, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaNotIn(List<Integer> values) {
            addCriterion("protect_area not in", values, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaBetween(Integer value1, Integer value2) {
            addCriterion("protect_area between", value1, value2, "protectArea");
            return (Criteria) this;
        }

        public Criteria andProtectAreaNotBetween(Integer value1, Integer value2) {
            addCriterion("protect_area not between", value1, value2, "protectArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaIsNull() {
            addCriterion("control_area is null");
            return (Criteria) this;
        }

        public Criteria andControlAreaIsNotNull() {
            addCriterion("control_area is not null");
            return (Criteria) this;
        }

        public Criteria andControlAreaEqualTo(Integer value) {
            addCriterion("control_area =", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaNotEqualTo(Integer value) {
            addCriterion("control_area <>", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaGreaterThan(Integer value) {
            addCriterion("control_area >", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaGreaterThanOrEqualTo(Integer value) {
            addCriterion("control_area >=", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaLessThan(Integer value) {
            addCriterion("control_area <", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaLessThanOrEqualTo(Integer value) {
            addCriterion("control_area <=", value, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaIn(List<Integer> values) {
            addCriterion("control_area in", values, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaNotIn(List<Integer> values) {
            addCriterion("control_area not in", values, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaBetween(Integer value1, Integer value2) {
            addCriterion("control_area between", value1, value2, "controlArea");
            return (Criteria) this;
        }

        public Criteria andControlAreaNotBetween(Integer value1, Integer value2) {
            addCriterion("control_area not between", value1, value2, "controlArea");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationIsNull() {
            addCriterion("develop_project_situation is null");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationIsNotNull() {
            addCriterion("develop_project_situation is not null");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationEqualTo(String value) {
            addCriterion("develop_project_situation =", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationNotEqualTo(String value) {
            addCriterion("develop_project_situation <>", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationGreaterThan(String value) {
            addCriterion("develop_project_situation >", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationGreaterThanOrEqualTo(String value) {
            addCriterion("develop_project_situation >=", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationLessThan(String value) {
            addCriterion("develop_project_situation <", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationLessThanOrEqualTo(String value) {
            addCriterion("develop_project_situation <=", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationLike(String value) {
            addCriterion("develop_project_situation like", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationNotLike(String value) {
            addCriterion("develop_project_situation not like", value, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationIn(List<String> values) {
            addCriterion("develop_project_situation in", values, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationNotIn(List<String> values) {
            addCriterion("develop_project_situation not in", values, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationBetween(String value1, String value2) {
            addCriterion("develop_project_situation between", value1, value2, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andDevelopProjectSituationNotBetween(String value1, String value2) {
            addCriterion("develop_project_situation not between", value1, value2, "developProjectSituation");
            return (Criteria) this;
        }

        public Criteria andProtectOrganIsNull() {
            addCriterion("protect_organ is null");
            return (Criteria) this;
        }

        public Criteria andProtectOrganIsNotNull() {
            addCriterion("protect_organ is not null");
            return (Criteria) this;
        }

        public Criteria andProtectOrganEqualTo(Integer value) {
            addCriterion("protect_organ =", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganNotEqualTo(Integer value) {
            addCriterion("protect_organ <>", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganGreaterThan(Integer value) {
            addCriterion("protect_organ >", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganGreaterThanOrEqualTo(Integer value) {
            addCriterion("protect_organ >=", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganLessThan(Integer value) {
            addCriterion("protect_organ <", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganLessThanOrEqualTo(Integer value) {
            addCriterion("protect_organ <=", value, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganIn(List<Integer> values) {
            addCriterion("protect_organ in", values, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganNotIn(List<Integer> values) {
            addCriterion("protect_organ not in", values, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganBetween(Integer value1, Integer value2) {
            addCriterion("protect_organ between", value1, value2, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectOrganNotBetween(Integer value1, Integer value2) {
            addCriterion("protect_organ not between", value1, value2, "protectOrgan");
            return (Criteria) this;
        }

        public Criteria andProtectFlagIsNull() {
            addCriterion("protect_flag is null");
            return (Criteria) this;
        }

        public Criteria andProtectFlagIsNotNull() {
            addCriterion("protect_flag is not null");
            return (Criteria) this;
        }

        public Criteria andProtectFlagEqualTo(String value) {
            addCriterion("protect_flag =", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagNotEqualTo(String value) {
            addCriterion("protect_flag <>", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagGreaterThan(String value) {
            addCriterion("protect_flag >", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagGreaterThanOrEqualTo(String value) {
            addCriterion("protect_flag >=", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagLessThan(String value) {
            addCriterion("protect_flag <", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagLessThanOrEqualTo(String value) {
            addCriterion("protect_flag <=", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagLike(String value) {
            addCriterion("protect_flag like", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagNotLike(String value) {
            addCriterion("protect_flag not like", value, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagIn(List<String> values) {
            addCriterion("protect_flag in", values, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagNotIn(List<String> values) {
            addCriterion("protect_flag not in", values, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagBetween(String value1, String value2) {
            addCriterion("protect_flag between", value1, value2, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andProtectFlagNotBetween(String value1, String value2) {
            addCriterion("protect_flag not between", value1, value2, "protectFlag");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationIsNull() {
            addCriterion("secure_work_situation is null");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationIsNotNull() {
            addCriterion("secure_work_situation is not null");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationEqualTo(String value) {
            addCriterion("secure_work_situation =", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationNotEqualTo(String value) {
            addCriterion("secure_work_situation <>", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationGreaterThan(String value) {
            addCriterion("secure_work_situation >", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationGreaterThanOrEqualTo(String value) {
            addCriterion("secure_work_situation >=", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationLessThan(String value) {
            addCriterion("secure_work_situation <", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationLessThanOrEqualTo(String value) {
            addCriterion("secure_work_situation <=", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationLike(String value) {
            addCriterion("secure_work_situation like", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationNotLike(String value) {
            addCriterion("secure_work_situation not like", value, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationIn(List<String> values) {
            addCriterion("secure_work_situation in", values, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationNotIn(List<String> values) {
            addCriterion("secure_work_situation not in", values, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationBetween(String value1, String value2) {
            addCriterion("secure_work_situation between", value1, value2, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureWorkSituationNotBetween(String value1, String value2) {
            addCriterion("secure_work_situation not between", value1, value2, "secureWorkSituation");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganIsNull() {
            addCriterion("secure_protect_organ is null");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganIsNotNull() {
            addCriterion("secure_protect_organ is not null");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganEqualTo(String value) {
            addCriterion("secure_protect_organ =", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganNotEqualTo(String value) {
            addCriterion("secure_protect_organ <>", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganGreaterThan(String value) {
            addCriterion("secure_protect_organ >", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganGreaterThanOrEqualTo(String value) {
            addCriterion("secure_protect_organ >=", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganLessThan(String value) {
            addCriterion("secure_protect_organ <", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganLessThanOrEqualTo(String value) {
            addCriterion("secure_protect_organ <=", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganLike(String value) {
            addCriterion("secure_protect_organ like", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganNotLike(String value) {
            addCriterion("secure_protect_organ not like", value, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganIn(List<String> values) {
            addCriterion("secure_protect_organ in", values, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganNotIn(List<String> values) {
            addCriterion("secure_protect_organ not in", values, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganBetween(String value1, String value2) {
            addCriterion("secure_protect_organ between", value1, value2, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andSecureProtectOrganNotBetween(String value1, String value2) {
            addCriterion("secure_protect_organ not between", value1, value2, "secureProtectOrgan");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationIsNull() {
            addCriterion("monitor_installation is null");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationIsNotNull() {
            addCriterion("monitor_installation is not null");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationEqualTo(String value) {
            addCriterion("monitor_installation =", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationNotEqualTo(String value) {
            addCriterion("monitor_installation <>", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationGreaterThan(String value) {
            addCriterion("monitor_installation >", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationGreaterThanOrEqualTo(String value) {
            addCriterion("monitor_installation >=", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationLessThan(String value) {
            addCriterion("monitor_installation <", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationLessThanOrEqualTo(String value) {
            addCriterion("monitor_installation <=", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationLike(String value) {
            addCriterion("monitor_installation like", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationNotLike(String value) {
            addCriterion("monitor_installation not like", value, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationIn(List<String> values) {
            addCriterion("monitor_installation in", values, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationNotIn(List<String> values) {
            addCriterion("monitor_installation not in", values, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationBetween(String value1, String value2) {
            addCriterion("monitor_installation between", value1, value2, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andMonitorInstallationNotBetween(String value1, String value2) {
            addCriterion("monitor_installation not between", value1, value2, "monitorInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationIsNull() {
            addCriterion("guard_installation is null");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationIsNotNull() {
            addCriterion("guard_installation is not null");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationEqualTo(String value) {
            addCriterion("guard_installation =", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationNotEqualTo(String value) {
            addCriterion("guard_installation <>", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationGreaterThan(String value) {
            addCriterion("guard_installation >", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationGreaterThanOrEqualTo(String value) {
            addCriterion("guard_installation >=", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationLessThan(String value) {
            addCriterion("guard_installation <", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationLessThanOrEqualTo(String value) {
            addCriterion("guard_installation <=", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationLike(String value) {
            addCriterion("guard_installation like", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationNotLike(String value) {
            addCriterion("guard_installation not like", value, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationIn(List<String> values) {
            addCriterion("guard_installation in", values, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationNotIn(List<String> values) {
            addCriterion("guard_installation not in", values, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationBetween(String value1, String value2) {
            addCriterion("guard_installation between", value1, value2, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andGuardInstallationNotBetween(String value1, String value2) {
            addCriterion("guard_installation not between", value1, value2, "guardInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationIsNull() {
            addCriterion("fire_installation is null");
            return (Criteria) this;
        }

        public Criteria andFireInstallationIsNotNull() {
            addCriterion("fire_installation is not null");
            return (Criteria) this;
        }

        public Criteria andFireInstallationEqualTo(String value) {
            addCriterion("fire_installation =", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationNotEqualTo(String value) {
            addCriterion("fire_installation <>", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationGreaterThan(String value) {
            addCriterion("fire_installation >", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationGreaterThanOrEqualTo(String value) {
            addCriterion("fire_installation >=", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationLessThan(String value) {
            addCriterion("fire_installation <", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationLessThanOrEqualTo(String value) {
            addCriterion("fire_installation <=", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationLike(String value) {
            addCriterion("fire_installation like", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationNotLike(String value) {
            addCriterion("fire_installation not like", value, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationIn(List<String> values) {
            addCriterion("fire_installation in", values, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationNotIn(List<String> values) {
            addCriterion("fire_installation not in", values, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationBetween(String value1, String value2) {
            addCriterion("fire_installation between", value1, value2, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFireInstallationNotBetween(String value1, String value2) {
            addCriterion("fire_installation not between", value1, value2, "fireInstallation");
            return (Criteria) this;
        }

        public Criteria andFileIsNull() {
            addCriterion("file is null");
            return (Criteria) this;
        }

        public Criteria andFileIsNotNull() {
            addCriterion("file is not null");
            return (Criteria) this;
        }

        public Criteria andFileEqualTo(String value) {
            addCriterion("file =", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotEqualTo(String value) {
            addCriterion("file <>", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThan(String value) {
            addCriterion("file >", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThanOrEqualTo(String value) {
            addCriterion("file >=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThan(String value) {
            addCriterion("file <", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThanOrEqualTo(String value) {
            addCriterion("file <=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLike(String value) {
            addCriterion("file like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotLike(String value) {
            addCriterion("file not like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileIn(List<String> values) {
            addCriterion("file in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotIn(List<String> values) {
            addCriterion("file not in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileBetween(String value1, String value2) {
            addCriterion("file between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotBetween(String value1, String value2) {
            addCriterion("file not between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}